<div class="displayall">
	<ul>
		<?php foreach ($shows as $show):
		$name = $show->getName(); 
		$years = $show->getStartyear() . " - ";
		if($show->getEndyear() != '0000'){
			$years .= $show->getEndyear();
		}
		$id = $show->getId();
		?>
		<li>
			<?php echo anchor("displaySingle/show/$id", $name) ?>
			<p class="listextra"><?php echo " (" . $years . ")" ?></p> 
		</li>
		<?php endforeach;?>
	</ul>
</div>